home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / Tool Chest / Interfaces / UniversalInterfaces 2.0 / PInterfaces / FileTransferTools.p < prev    next >
Encoding:
Text File  |  1995-04-18  |  2.7 KB  |  132 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        FileTransferTools.p
  3.  
  4.      Contains:    CommToolbox File Transfer Tools Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.0 in “MPW Latest” on ETO #17
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. }
  19.  
  20. {$IFC UNDEFINED UsingIncludes}
  21. {$SETC UsingIncludes := 0}
  22. {$ENDC}
  23.  
  24. {$IFC NOT UsingIncludes}
  25.  UNIT FileTransferTools;
  26.  INTERFACE
  27. {$ENDC}
  28.  
  29. {$IFC UNDEFINED __FILETRANSFERTOOLS__}
  30. {$SETC __FILETRANSFERTOOLS__ := 1}
  31.  
  32. {$I+}
  33. {$SETC FileTransferToolsIncludes := UsingIncludes}
  34. {$SETC UsingIncludes := 1}
  35.  
  36.  
  37. {$IFC UNDEFINED __DIALOGS__}
  38. {$I Dialogs.p}
  39. {$ENDC}
  40. {    Errors.p                                                    }
  41. {        ConditionalMacros.p                                        }
  42. {    Memory.p                                                    }
  43. {        Types.p                                                    }
  44. {        MixedMode.p                                                }
  45. {    Windows.p                                                    }
  46. {        Quickdraw.p                                                }
  47. {            QuickdrawText.p                                        }
  48. {        Events.p                                                }
  49. {            OSUtils.p                                            }
  50. {        Controls.p                                                }
  51. {            Menus.p                                                }
  52. {    TextEdit.p                                                    }
  53.  
  54. {$IFC UNDEFINED __FILETRANSFERS__}
  55. {$I FileTransfers.p}
  56. {$ENDC}
  57. {    CTBUtilities.p                                                }
  58. {        StandardFile.p                                            }
  59. {            Files.p                                                }
  60. {        AppleTalk.p                                                }
  61. {    Connections.p                                                }
  62. {    Terminals.p                                                    }
  63.  
  64. {$PUSH}
  65. {$ALIGN MAC68K}
  66. {$LibExport+}
  67.  
  68. CONST
  69. { DEFs }
  70.     fdefType                    = 'fdef';
  71.     fsetType                    = 'fset';
  72.     fvalType                    = 'fval';
  73.     flocType                    = 'floc';
  74.     fscrType                    = 'fscr';
  75.     fbndType                    = 'fbnd';
  76.     fverType                    = 'vers';
  77.  
  78. { control }
  79.     ftInitMsg                    = 0;
  80.     ftDisposeMsg                = 1;
  81.     ftSuspendMsg                = 2;
  82.     ftResumeMsg                    = 3;
  83.     ftMenuMsg                    = 4;
  84.     ftEventMsg                    = 5;
  85.     ftActivateMsg                = 6;
  86.     ftDeactivateMsg                = 7;
  87.     ftGetErrorStringMsg            = 8;
  88.     ftAbortMsg                    = 52;
  89.     ftStartMsg                    = 100;
  90.     ftExecMsg                    = 102;
  91.     ftSendMsg                    = 103;
  92.     ftReceiveMsg                = 104;
  93. { setup }
  94.     ftSpreflightMsg                = 0;
  95.     ftSsetupMsg                    = 1;
  96.     ftSitemMsg                    = 2;
  97.     ftSfilterMsg                = 3;
  98.     ftScleanupMsg                = 4;
  99. { validate }
  100.     ftValidateMsg                = 0;
  101.  
  102.     ftDefaultMsg                = 1;
  103. { scripting }
  104.     ftMgetMsg                    = 0;
  105.     ftMsetMsg                    = 1;
  106. { localization }
  107.     ftL2English                    = 0;
  108.     ftL2Intl                    = 1;
  109.  
  110.  
  111. TYPE
  112.     FTSetupStruct = RECORD
  113.         theDialog:                DialogPtr;                                { the dialog form the application }
  114.         count:                    INTEGER;                                { first appended item }
  115.         theConfig:                Ptr;                                    { the config record to setup }
  116.         procID:                    INTEGER;                                { procID of the tool }
  117.     END;
  118.  
  119.     FTSetupPtr = ^FTSetupStruct;
  120.  
  121.  
  122. {$ALIGN RESET}
  123. {$POP}
  124.  
  125. {$SETC UsingIncludes := FileTransferToolsIncludes}
  126.  
  127. {$ENDC} {__FILETRANSFERTOOLS__}
  128.  
  129. {$IFC NOT UsingIncludes}
  130.  END.
  131. {$ENDC}
  132.